﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace V32Assembler
{
    public class PartialCommand
    {
        public static readonly PartialCommand Null = new PartialCommand(Command.Null, null, null);

        public Command Command { get; private set; }
        public string Arg1Label { get; private set; }
        public string Arg2Label { get; private set; }

        public PartialCommand(Command command, string arg1Label, string arg2Label)
        {
            Command = command;
            Arg1Label = arg1Label;
            Arg2Label = arg2Label;
        }

        public override string ToString()
        {
            return new Tuple<Command, string, string>(Command, Arg1Label, Arg2Label).ToString();
        }
    }
}
